home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
422mods.zip
/
DARYL002.422
< prev
next >
Wrap
Text File
|
1993-03-04
|
2KB
|
57 lines
Attractive Boxed Chains Menu - DARYL002.422
Daryl #1 @15900 7─═2[7─3SysOp7─2]7═─0
Mon Mar 01 10:25:26 1993
┌────────────────────────────────────────────────────────────────────────────┐
│ Mod Name : DARYL002.422 Mod Author: Daryl 1@5900 IceNET │
│ Difficulty : █▒▒▒▒▒▒▒▒▒ [Simplicity Defined] 1@15900 WWIVlink │
│ WWIV Version : 4.22 1@5932 WWIVnet │
│ Mod Date : 03/01/93 │
│ Files Affected: COM.C │
│ Description : Attractive Chains Box that allows uneven numbering │
└────────────────────────────────────────────────────────────────────────────┘
══[ Description ]═════════════════════════════════════════════════════════════
This modification will provide one with an attractive display box for the
chains area. unlike some other mods this will stay in format even if the
number of chains you have installed is uneven.
══[The Modification]══════════════════════════════════════════════════════════
In BBSUTL1.C replace the existing void with this one.
void show_chains (int *mapp, int *map)
{
int abort, i,i1,a,b,i2;
char s[100];
abort=0;
nl();
outstr("\x0c");
outstr("7┌────═══│4Executive Diversions & Features7│═══── ∙∙ ─ ∙∙ ∙");0
nl();
nl();
npr("8╔════╦══════════════════════════════════╦════╦═══════════════════════0
════════╗\r\n"); /* Line wrapped */
while (i < 50) {
for (i = 0; (i < *mapp) && (!abort) && (!hangup); i+=2) {
if ((i+2)<=*mapp)
sprintf(s,"8│ 2%2d 8│ 1%-30s 8│ 2%2d 8│ 1%-30s8│",i+1,(chains[map[i]].descrip0
tion),i+2,(chains[map[i+1]].description)); /* Line Wrapped */
else
sprintf(s,"8│ 2%2d 8│ 1%-30s 8│ │ │",i+10
,(chains[map[i]].description)); /* Line Wrapped */
npr("%s\r\n",s);
if (inkey()!=0)
abort=1;
}
i = 51;
}
npr("8╚════╩══════════════════════════════════╩════╩═══════════════════════0
════════╝\r\n"); /* Line Wrapped */
nl();
}
══[End of Mod]═════════════════════════════════════════════════════════════════